var domain = "localhost";
var host = window.location.host;
if(host.indexOf("127.0.0.1")>=0){
	domain = "127.0.0.1";
}
document.domain = domain;
if(self == top){
	host = window.location.host;
}else{
	host = window.parent.location.host;
}
var siteUrl = window.location.protocol+"//"+domain+":8080";

var h5GameUrl = "http://"+domain+":9090";
var funnyUrl="http://funny.yesgood.cc"
var tryItUrl="http://tryit.yesgood.cc";
var imgUrl="http://img.yesgood.cc";